package cn.ly.array;

import java.util.Random;

public class HighArrayApp {
	
	public static void main(String[] args) {
		char a = 04;
		System.out.println(a);
		
		//随机10个0到100之间的整数
		Random rand = new Random();  
		HighArray arr = new HighArray(100);
		long ranTemp = 0;
		for(int i=0; i < 10; i++){
			ranTemp = rand.nextLong();
			if(ranTemp < 0){
				ranTemp *= -1;
			}
			arr.insert(ranTemp%100+1);
		}
		
		arr.display();
		arr.delete(5);
		arr.display();
		
		
	}

}
